package com.yellowpage.white.common;

public class Common {
	/**
	 * determine a string is not null and not empty
	 * 
	 * @param as
	 * @return
	 */

	public static boolean isValid(Object as) {
		boolean b = true;
		if (as == null) {
			b = false;
		} else {
			if (as.equals("")) {
				b = false;
			}

		}
		return b;
	}
}
